import Vue from 'vue'
import App from './App.vue'
import router from './router/index'   // 导入路由配置
import echarts from 'echarts'

// const app = createApp(App)
// app.use(router)
// app.mount('#app')
Vue.prototype.$echarts = echarts // 挂载到 Vue 原型
new Vue({
    el: '#app',
    router,
    render: h => h(App)
})
